FROM python:3.7
ARG WS=/home/aosp
ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
RUN groupadd -g 1001 tj \
    && useradd -d $WS -u 1001 -g 1001 -m -s /bin/bash tj
COPY requirement.txt $WS
WORKDIR $WS
RUN pip install -i $PIP_MIRROR -r requirement.txt
ENV USER tj
USER tj

#RUN ["/usr/bin/python", "run.py"]
